#pragma once
//#include "c:\qt\4.1.2-msvc2005\src\gui\dialogs\qdialog.h"
#include <QDialog>

class QLineEdit;
class QTextEdit;

enum ContactMode
{
	CONTACT_VIEW = 0,
	CONTACT_ADD
};

class DialogContact :
	public QDialog
{
public:
	DialogContact(QString strName, QWidget * parent = 0,	Qt::WFlags f = 0);
public:
	~DialogContact(void);
public:
	QLineEdit* m_editName;
	QLineEdit* m_editMobile;
	QLineEdit* m_editEmail;
	QTextEdit* m_editComment;
public:
	void setMode(int);
};
